﻿namespace HRM.CORE
{
    using DevExpress.XtraEditors;
    
    using System; using Extra.ERP;
    using System.ComponentModel;
    using System.Drawing;
    using System.Windows.Forms; using Common;
    using APP.HELPER.Utils.Language;

    public class xfmSalaryOverTime : XtraForm
    {
        private IContainer components = null;

        public xfmSalaryOverTime()
        {
            this.InitializeComponent();
            this.Text = MultiLanguages.GetString("tbl_SalaryOverTime", "PayrollOverTime", this.Text);
            base.Load += new EventHandler(this.xfmSalaryOverTime_Load);
        }

        protected override void Dispose(bool disposing)
        {
            if (disposing && (this.components != null))
            {
                this.components.Dispose();
            }
            base.Dispose(disposing);
        }

        private void InitializeComponent()
        {
            base.SuspendLayout();
            base.AutoScaleDimensions = new SizeF(6f, 13f);
            base.AutoScaleMode = AutoScaleMode.Font;
            base.ClientSize = new Size(630, 0x179);
            base.Name = "xfmSalaryOverTime";
            this.Text = "Bảng T\x00ednh Lương Tăng Ca";
            base.ResumeLayout(false);
        }

        private void xfmSalaryOverTime_Load(object sender, EventArgs e)
        {
            xucSalaryOverTime time = new xucSalaryOverTime {
                Dock = DockStyle.Fill
            };
            time.Closed += new xucSalaryOverTime.ClosedHander(this.xucSalaryOverTime_Closed);
            base.Controls.Add(time);
        }

        private void xucSalaryOverTime_Closed(object sender)
        {
            base.Close();
        }
    }
}

